package com.zhihao.takeaway.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhihao.takeaway.common.utils.EasyUITable;
import com.zhihao.takeaway.entity.Orders;



public interface OrdersService extends IService<Orders> {
    EasyUITable getTableData(Integer currentPage, Integer size);

    EasyUITable search(String number,String orderTime,Integer page1);

    EasyUITable getOrderDataById(String userId,String flag);

    EasyUITable getOrdersByCondition(Integer currentNum,String employeeId,Integer status,Integer wantNum,String id);

    Boolean delivery(String id,String EmployeeId);

    EasyUITable getOrdersByConditionWithTime(Integer currentNum,String employeeId,Integer status,Integer wantNum,String date);

    EasyUITable getSuspenseOrderUser(String EmployeeId);

    Boolean cancelById(String id);
}
